package com.ibeetl.cms.entity;

import javax.validation.constraints.NotNull;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;


import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;



/* 
* 
* gen by Spring Boot2 Admin 2018-10-23
*/
public class Sincerity extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //业务事项

    private String businessType ;
	
    //个人或单位

    private String type ;
	
    //个人id或单位id

    private Integer typeId ;
	
    //黑名单原因

    private String reasonsBlacklist ;

    //证件类别
    @Dict(type="idType")
    private String idType ;

    //证件号码

    private String identificationNumber ;

    //姓名

    private String name ;

    //单位名称

    private String enterpriseName ;

    //统一社会信用代码

    private String organizationCode ;

    public Sincerity()
    {
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**业务事项
    *@return 
    */
    public String getBusinessType(){
	    return  businessType;
    }
    /**业务事项
    *@param  businessType
    */
    public void setBusinessType(String businessType){
        this.businessType = businessType;
    }

    /**个人或单位
    *@return 
    */
    public String getType(){
	    return  type;
    }
    /**个人或单位
    *@param  type
    */
    public void setType(String type){
        this.type = type;
    }

    /**个人id或单位id
    *@return 
    */
    public Integer getTypeId(){
	    return  typeId;
    }
    /**个人id或单位id
    *@param  typeId
    */
    public void setTypeId(Integer typeId){
        this.typeId = typeId;
    }

    /**黑名单原因
    *@return 
    */
    public String getReasonsBlacklist(){
	    return  reasonsBlacklist;
    }
    /**黑名单原因
    *@param  reasonsBlacklist
    */
    public void setReasonsBlacklist(String reasonsBlacklist){
        this.reasonsBlacklist = reasonsBlacklist;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdentificationNumber() {
        return identificationNumber;
    }

    public void setIdentificationNumber(String identificationNumber) {
        this.identificationNumber = identificationNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }
}
